package com.zzyl.service;

import com.aliyun.iot20180120.models.*;
import com.zzyl.base.PageResponse;
import com.zzyl.dto.AlertRuleDto;
import com.zzyl.dto.DeviceDto;
import com.zzyl.entity.Device;
import com.zzyl.vo.DeviceVo;
import com.zzyl.vo.ProductVo;

import java.util.List;

/**
 * @Description DeviceService
 * @Author huangdongye
 * @Date 2025-05-19  16:35
 */
public interface DeviceService {
    void syncProductList();

    List<ProductVo> allProduct();

    void RegisterDevice(DeviceDto deviceDto);


    PageResponse<Device> pageQueryDevice(Integer page, Integer size, String deviceName, Integer locationType, String productKey);

    DeviceVo QueryDeviceDetail(QueryDeviceDetailRequest queryDeviceDetailRequest);


    QueryThingModelPublishedResponseBody.QueryThingModelPublishedResponseBodyData QueryThingModelPublished(QueryThingModelPublishedRequest request);

    QueryDevicePropertyStatusResponseBody.QueryDevicePropertyStatusResponseBodyData QueryDevicePropertyStatus(QueryDevicePropertyStatusRequest request);

    void UpdateDevice(DeviceDto deviceDto);

    void DeleteDevice(DeleteDeviceRequest deleteDeviceRequest);
}
